package com.zeedev.flyingsaucer.modules.BeerDatabaseModule.interfaces;

import com.zeedev.flyingsaucer.data.BeerUri;
import mobi.zeedev.flyingsaucer.common.RegexModule.impl.ParseException;
import mobi.zeedev.flyingsaucer.common.WebQueryModule.impl.HttpException;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;

public interface ListModel {

//	public void addObserver(Observer observer);

//    public Cursor getCursor();

//    public Boolean isEmpty();

    public Boolean needsRefresh();

    public void destroy();

//	public BeersDownloader getDownloader(ListParentController parent);

//    public Cursor getTreeCursor(String groupBy);

    public void masterRefresh() throws IOException, HttpException, NoSuchFieldException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, ParseException;

//	public void notifyListeners();

    public BeerUri getBeerUri();
//
//    public Cursor getCursor(BeerUri beerUri);
//
//    public BeerUri getDefaultBeerUri();
//
    public void setBeerUri(BeerUri beerUri);

}
